Class: Google::Apis::FirebaseapphostingV1::Path

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

Overview

A file path pattern to match against.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Path

Returns a new instance of Path.



1525
1526
1527
# File 'lib/google/apis/firebaseapphosting_v1/classes.rb', line 1525

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

Instance Attribute Details

#patternString

Optional. The pattern to match against. Corresponds to the JSON property pattern

Returns:

  • (String)


1518
1519
1520
# File 'lib/google/apis/firebaseapphosting_v1/classes.rb', line 1518

def pattern
  @pattern
end

#typeString

Optional. The type of pattern to match against. Corresponds to the JSON property type

Returns:

  • (String)


1523
1524
1525
# File 'lib/google/apis/firebaseapphosting_v1/classes.rb', line 1523

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1530
1531
1532
1533
# File 'lib/google/apis/firebaseapphosting_v1/classes.rb', line 1530

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