Class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePattern

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

Overview

Service patterns used to allow access.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1ServicePattern

Returns a new instance of GoogleIdentityAccesscontextmanagerV1ServicePattern.



3714
3715
3716
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3714

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

Instance Attribute Details

#modifiersArray<Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1Modifier>

Modifiers to apply to the requests that match the URL pattern. Corresponds to the JSON property modifiers



3700
3701
3702
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3700

def modifiers
  @modifiers
end

#patternString

URL pattern to allow. Only patterns of ".googleapis.com/", "www.googleapis. com//" and ".appspot.com/ forms are supported, where should be alphanumerical name. Corresponds to the JSON property pattern

Returns:

  • (String)


3707
3708
3709
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3707

def pattern
  @pattern
end

#serviceString

Supported service to allow. Corresponds to the JSON property service

Returns:

  • (String)


3712
3713
3714
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3712

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3719
3720
3721
3722
3723
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 3719

def update!(**args)
  @modifiers = args[:modifiers] if args.key?(:modifiers)
  @pattern = args[:pattern] if args.key?(:pattern)
  @service = args[:service] if args.key?(:service)
end