Class: Google::Apis::SecuritycenterV1::Access
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::Access
- 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
-
#caller_ip ⇒ String
Corresponds to the JSON property
callerIp. -
#caller_ip_geo ⇒ Google::Apis::SecuritycenterV1::Geolocation
Corresponds to the JSON property
callerIpGeo. -
#method_name ⇒ String
Corresponds to the JSON property
methodName. -
#principal_email ⇒ String
Corresponds to the JSON property
principalEmail. -
#principal_subject ⇒ String
Corresponds to the JSON property
principalSubject. -
#service_account_delegation_info ⇒ Array<Google::Apis::SecuritycenterV1::ServiceAccountDelegationInfo>
Corresponds to the JSON property
serviceAccountDelegationInfo. -
#service_account_key_name ⇒ String
Corresponds to the JSON property
serviceAccountKeyName. -
#service_name ⇒ String
Corresponds to the JSON property
serviceName. -
#user_agent ⇒ String
Corresponds to the JSON property
userAgent. -
#user_agent_family ⇒ String
Corresponds to the JSON property
userAgentFamily. -
#user_name ⇒ String
Corresponds to the JSON property
userName.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Access
constructor
A new instance of Access.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Access
Returns a new instance of Access.
84 85 86 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 84 def initialize(**args) update!(**args) end |
Instance Attribute Details
#caller_ip ⇒ String
Corresponds to the JSON property callerIp
32 33 34 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 32 def caller_ip @caller_ip end |
#caller_ip_geo ⇒ Google::Apis::SecuritycenterV1::Geolocation
Corresponds to the JSON property callerIpGeo
37 38 39 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 37 def caller_ip_geo @caller_ip_geo end |
#method_name ⇒ String
Corresponds to the JSON property methodName
42 43 44 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 42 def method_name @method_name end |
#principal_email ⇒ String
Corresponds to the JSON property principalEmail
47 48 49 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 47 def principal_email @principal_email end |
#principal_subject ⇒ String
Corresponds to the JSON property principalSubject
52 53 54 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 52 def principal_subject @principal_subject end |
#service_account_delegation_info ⇒ Array<Google::Apis::SecuritycenterV1::ServiceAccountDelegationInfo>
Corresponds to the JSON property serviceAccountDelegationInfo
57 58 59 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 57 def service_account_delegation_info @service_account_delegation_info end |
#service_account_key_name ⇒ String
Corresponds to the JSON property serviceAccountKeyName
62 63 64 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 62 def service_account_key_name @service_account_key_name end |
#service_name ⇒ String
Corresponds to the JSON property serviceName
67 68 69 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 67 def service_name @service_name end |
#user_agent ⇒ String
Corresponds to the JSON property userAgent
72 73 74 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 72 def user_agent @user_agent end |
#user_agent_family ⇒ String
Corresponds to the JSON property userAgentFamily
77 78 79 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 77 def user_agent_family @user_agent_family end |
#user_name ⇒ String
Corresponds to the JSON property userName
82 83 84 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 82 def user_name @user_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 89 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 |